]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
Revert "appDisplay: Add drop shadow to icons"
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 2 Sep 2020 09:11:39 +0000 (11:11 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 2 Sep 2020 09:12:47 +0000 (11:12 +0200)
The shadows are hardly visible in the darkened overview, but have
a noticeable impact on performance.

This reverts commit 4e195d789ab99d02a6.

js/ui/appDisplay.js

index 9e00823f6306222e5b1a0362a01b11f04065691c..cecf6d185ba8c4577a2f43da14390dc058d8edf7 100644 (file)
@@ -1341,11 +1341,7 @@ var AppSearchProvider = class AppSearchProvider {
                 metas.push({
                     id: app.get_id(),
                     name: app.get_name(),
-                    createIcon: size => {
-                        const icon = app.create_icon_texture(size);
-                        icon.add_style_class_name('icon-dropshadow');
-                        return icon;
-                    },
+                    createIcon: size => app.create_icon_texture(size),
                 });
             } else {
                 let name = this._systemActions.getName(id);
@@ -2507,9 +2503,7 @@ var AppIcon = GObject.registerClass({
     }
 
     _createIcon(iconSize) {
-        const icon = this.app.create_icon_texture(iconSize);
-        icon.add_style_class_name('icon-dropshadow');
-        return icon;
+        return this.app.create_icon_texture(iconSize);
     }
 
     _removeMenuTimeout() {